package com.vc.aha_server_event.service;

import com.vc.aha_server_event.dto.UploadResourceInfoDto;
import com.vc.aha_server_event.entity.UploadResourceInfo;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
/**
* @author ShaoZhenbang
* @description 
* @date 2022/4/8
*/
@Service
public class UploadResourceInfoService {
    @Resource
    private MongoTemplate mongoTemplate;
    public void saveUploadResourceInfo(UploadResourceInfoDto uploadResourceInfoDto){
        mongoTemplate.save(uploadResourceInfoDto);        
    }
}
